import com.google.common.collect.Lists;

import javax.xml.crypto.Data;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-19-16:23
 */
public class test {
    public static void main(String[] args) {

        String[] strings = new String[]{"asc","sadc","ssad"};
        List<String> list = Arrays.asList(strings);
        String collect = list.stream().collect(Collectors.joining(","));
        System.out.println(collect);

    }
}
